#!/usr/bin/env bash

set -ev

cd "${BASH_SOURCE%/*}/.."

echo "Building phar"
./bin/build-vendor
./bin/build-phar

echo "Building compat phar"
./bin/build-vendor-compat
./bin/build-phar --compat
